<template>
  <el-switch v-model="value" v-bind="{ ...props }" />
</template>

<script setup lang="ts">
import type { SwitchType } from "./interface/";
defineOptions({ name: "WSwitch" });

const props = defineProps<SwitchType.Props>();
const value = useVModel(props, "modelValue");
</script>

<style scoped></style>
